.class public Les/oo;
.super Les/gl;
.source "AmazonChannelConfigCmsManager.java"


# static fields
.field private static d:Les/oo;


# direct methods
.method private constructor <init>()V
    .locals 2

    .line 1
    sget-object v0, Les/fl;->p:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Les/gl;-><init>(Ljava/lang/String;Z)V

    return-void
.end method

.method public static g()Les/oo;
    .locals 2

    .line 1
    sget-object v0, Les/oo;->d:Les/oo;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Les/oo;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Les/oo;->d:Les/oo;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Les/oo;

    invoke-direct {v1}, Les/oo;-><init>()V

    sput-object v1, Les/oo;->d:Les/oo;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Les/oo;->d:Les/oo;

    return-object v0
.end method


# virtual methods
.method protected a(Les/ll;)Les/ll;
    .locals 1

    .line 5
    move-object v0, p1

    check-cast v0, Les/po;

    .line 6
    invoke-super {p0, p1}, Les/gl;->a(Les/ll;)Les/ll;

    return-object p1
.end method

.method protected a(Ljava/lang/String;IZ)Les/ll;
    .locals 0

    .line 1
    new-instance p2, Les/kl;

    new-instance p3, Les/po;

    invoke-direct {p3}, Les/po;-><init>()V

    invoke-direct {p2, p3}, Les/kl;-><init>(Les/ll;)V

    .line 2
    :try_start_0
    invoke-virtual {p2, p1}, Les/kl;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 4
    :goto_0
    iget-object p1, p2, Les/kl;->c:Les/ll;

    return-object p1
.end method

.method protected c()Ljava/lang/String;
    .locals 2

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "{    \"enable\": \"true\",    \"name\": \"amazon_channel_config\",    \"datas\": {        \"version_code\": "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/view/e;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ",        \"control_range\": \"all\",        \"swipe_enable\": \"false\",        \"charge_saver_enable\": \"false\"    }}"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
